@echo off

set "folderName=release"
rmdir /s /q %folderName%

set GOOS=windows
set GOARCH=amd64
go build -x -o release/stgo_client.exe ./client/

set GOOS=linux
set GOARCH=amd64
go build -x -o release/stgo_server ./server/